<?php
class User
{
	var $ID;
	var $Name;
	var $Vorname;
	var $Password;
	var $LoginName;
	var $Email;
	var $UserType;
	var $AccountStatus;

	public function __construct($ID, $Name, $Vorname, $Password, $LoginName, $Email, $UserType, $AccountStatus){
        $this->ID = $TippspielID;
        $this->Name = $TippNr;
        $this->Vorname = $Bezeichnung;
        $this->Password = $Bezeichnung_Zusatz;
        $this->LoginName = $ErgebnisNr;
		$this->Email = $Email;
		$this->UserType = $UserType;
		$this->AccountStatus = (enumAccountStatus)$AccountStatus;
    }
}


class enumUserType{
	const noneSpecial = 0;
	const administrator = 1;
}

class enumAccountStatus{
	const deaktivated = 0;
	const activated = 1;
}


?>
